package com.example.hms.dao;

import com.example.hms.entity.Customer;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CustomerDao {
    List<Customer> selectAllCustomer(
            @Param("customerName")String customerName,
            @Param("phoneNumber")String phoneNumber,
            @Param("identificationCard")String identificationCard
    );
    int insert(Customer customer);
    int update(Customer customer);
}
